#!/bin/bash

gnulib-tool --source-base=gnulib --m4-base=gnulib/m4 \
--aux-dir=gnulib/build-aux --import calloc-posix dprintf-posix \
fprintf-posix getopt-posix malloc-posix obstack-printf-posix \
pipe-posix printf-posix realloc-posix snprintf-posix sprintf-posix \
strdup-posix strerror_r-posix system-posix vasnprintf-posix \
vasprintf-posix vdprintf-posix vfprintf-posix vprintf-posix \
vsnprintf-posix vsprintf-posix xprintf-posix xvasprintf-posix \
malloc-gnu calloc-gnu realloc-gnu fnmatch-gnu getopt-gnu getpass-gnu \
stdio stdlib error argp strcase strcasestr progname glob unistd \
nonblocking sigpipe environ mbsrtowcs wcsrtombs wcslen wmemcpy getline \
ioctl

mv build-aux/texinfo.tex{,.bkp}
autoreconf --install --force
mv build-aux/texinfo.tex{.bkp,}
